package com.xavier.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description = "资源查询入参")
public class ResourceQueryDTO extends QueryDTO {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private Long id;

    @Schema(description = "父id")
    private Long parentId;

    @Schema(description = "资源编码")
    private String resourceCode;

    @Schema(description = "资源类型")
    private Byte resourceType;

    @Schema(description = "资源名称")
    private String resourceName;

    @Schema(description = "组件路径")
    private String component;

    @Schema(description = "组件名称")
    private String componentName;

    @Schema(description = "地址")
    private String url;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "排序")
    private Integer sortNumber;

    @Schema(description = "是否启用")
    private Boolean isEnable;

    @Schema(description = "创建时间起")
    private LocalDateTime createTimeFrom;

    @Schema(description = "创建时间止")
    private LocalDateTime createTimeTo;



}
